home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / xfsrestore.z / xfsrestore
Encoding:
Text File  |  2001-04-17  |  31.6 KB  |  595 lines

  1.  
  2.  
  3.  
  4. xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))                                                  xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      xfsrestore - XFS filesystem incremental restore utility
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      xxxxffffssssrrrreeeessssttttoooorrrreeee [ ----aaaa housekeeping ] [ ----bbbb blocksize (use with minimal rmt flag) ]
  13.              [ ----cccc media_change_alert_program ] [ ----eeee ]
  14.              [ ----ffff source ... ] [ ----iiii ] [ ----mmmm force usage of minimal rmt ]
  15.              [ ----nnnn file ] [ ----oooo ] [ ----pppp report_interval ] [ ----rrrr ]
  16.              [ ----ssss subtree ... ] [ ----tttt ] [ ----vvvv verbosity ] [ ----AAAA ] [ ----DDDD ]
  17.              [ ----EEEE ] [ ----FFFF ] [ ----IIII [ subopt=value ... ] ] [ ----JJJJ ] [ ----LLLL session_label ]
  18.              [ ----OOOO options_file ] [ ----QQQQ ] [ ----RRRR ] [ ----SSSS session_id ] [ ----TTTT ]
  19.              [ ----YYYY io_ring_length ] [ ---- ] destination
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      _x_f_s_r_e_s_t_o_r_e restores filesystems from dumps produced by _x_f_s_d_u_m_p(1M).  Two
  23.      modes of operation are available:  simple and cumulative.
  24.  
  25.      The default is simple mode.  _x_f_s_r_e_s_t_o_r_e populates the specified
  26.      destination directory, _d_e_s_t_i_n_a_t_i_o_n, with the files contained in the dump
  27.      media.
  28.  
  29.      The ----rrrr option specifies the cumulative mode.  Successive invocations of
  30.      _x_f_s_r_e_s_t_o_r_e are used to apply a chronologically ordered sequence of delta
  31.      dumps to a base (level 0) dump.  The contents of the filesystem at the
  32.      time each dump was produced is reproduced.  This can involve adding,
  33.      deleting, renaming, linking, and unlinking files and directories.
  34.  
  35.      A delta dump is defined as either an incremental dump (_x_f_s_d_u_m_p ----llll option
  36.      with level > 0) or a resumed dump (_x_f_s_d_u_m_p ----RRRR option).  The deltas must
  37.      be applied in the order they were produced.  Each delta applied must have
  38.      been produced with the previously applied delta as its base.
  39.  
  40.      ----aaaa _h_o_u_s_e_k_e_e_p_i_n_g
  41.           Each invocation of _x_f_s_r_e_s_t_o_r_e creates a directory called
  42.           _x_f_s_r_e_s_t_o_r_e_h_o_u_s_e_k_e_e_p_i_n_g_d_i_r.  This directory is normally created
  43.           directly under the _d_e_s_t_i_n_a_t_i_o_n directory.  The ----aaaa option allows the
  44.           operator to specify an alternate directory, _h_o_u_s_e_k_e_e_p_i_n_g, in which
  45.           _x_f_s_r_e_s_t_o_r_e creates the _x_f_s_r_e_s_t_o_r_e_h_o_u_s_e_k_e_e_p_i_n_g directory.  When
  46.           performing a cumulative (----rrrr option) restore, each successive
  47.           invocation of _x_f_s_r_e_s_t_o_r_e must specify the same alternate directory.
  48.  
  49.      ----bbbb _b_l_o_c_k_s_i_z_e
  50.           Specifies the blocksize to be used for the restore. This option is
  51.           specified only with the minimal rmt option (see the ----mmmm option
  52.           below). For a QIC drive , blocksize must always be 512.  For other
  53.           drives such as DAT or 8 mm , the same blocksize used for the xfsdump
  54.           operation must be specified to restore the tape.  When specified ,
  55.           this blocksize applies to all remote tape sources.
  56.  
  57.      ----cccc _m_e_d_i_a__c_h_a_n_g_e__a_l_e_r_t__p_r_o_g_r_a_m
  58.           Use the specified program to alert the operator when a media change
  59.           is required. The alert program is typically a script to send a mail
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))                                                  xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))
  71.  
  72.  
  73.  
  74.           or flash a window to draw the operator's attention.
  75.  
  76.      ----eeee   Prevents _x_f_s_r_e_s_t_o_r_e from overwriting existing files in the
  77.           _d_e_s_t_i_n_a_t_i_o_n directory.
  78.  
  79.      ----ffff _s_o_u_r_c_e
  80.           Specifies a source of the dump to be restored.  This can be the
  81.           pathname of a device (such as a tape drive), a regular file, or a
  82.           remote tape drive (see _r_m_t(1M)).  Up to 20 sources can be specified.
  83.           All sources are simultaneously applied to the restore.  For example,
  84.           if the dump to be restored spanned three tapes, three tape drives
  85.           could be used to simultaneously restore the portions of the dump
  86.           contained on each tape.  All other permutations are supported.  This
  87.           option must be omitted if the standard input option (a lone ----
  88.           preceding the _d_e_s_t_i_n_a_t_i_o_n specification) is specified.
  89.  
  90.      ----iiii   Selects interactive operation.  Once the on-media directory
  91.           hierarchy has been read, an interactive dialogue is begun.  The
  92.           operator uses a small set of commands to peruse the directory
  93.           hierarchy, selecting files and subtrees for extraction.  The
  94.           available commands are given below.  Initially nothing is selected,
  95.           except for those subtrees specified with ----ssss command line options.
  96.  
  97.           llllssss [_a_r_g]       List the entries in the current directory or the
  98.                          specified directory, or the specified non-directory
  99.                          file entry.  Both the entry's original inode number
  100.                          and name are displayed.  Entries that are directories
  101.                          are appended with a `/'.  Entries that have been
  102.                          selected for extraction are prepended with a `*'.
  103.  
  104.           ccccdddd [_a_r_g]       Change the current working directory to the specified
  105.                          argument, or to the filesystem root directory if no
  106.                          argument is specified.
  107.  
  108.           ppppwwwwdddd            Print the pathname of the current directory, relative
  109.                          to the filesystem root.
  110.  
  111.           aaaadddddddd [_a_r_g]      The current directory or specified file or directory
  112.                          within the current directory is selected for
  113.                          extraction.  If a directory is specified, then it and
  114.                          all its descendents are selected.  Entries that are
  115.                          selected for extraction are prepended with a `*' when
  116.                          they are listed by llllssss.
  117.  
  118.           ddddeeeelllleeeetttteeee [_a_r_g]   The current directory or specified file or directory
  119.                          within the current directory is deselected for
  120.                          extraction.  If a directory is specified, then it and
  121.                          all its descendents are deselected.  The most
  122.                          expedient way to extract most of the files from a
  123.                          directory is to select the directory and then
  124.                          deselect those files that are not needed.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))                                                  xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))
  137.  
  138.  
  139.  
  140.           eeeexxxxttttrrrraaaacccctttt        Ends the interactive dialogue, and causes all
  141.                          selected subtrees to be restored.
  142.  
  143.           qqqquuuuiiiitttt           _x_f_s_r_e_s_t_o_r_e ends the interactive dialogue and
  144.                          immediately exits, even if there are files or
  145.                          subtrees selected for extraction.
  146.  
  147.           hhhheeeellllpppp           List a summary of the available commands.
  148.  
  149.      ----mmmm   Use the minimal rmt protocol for remote tape sources. This is used
  150.           when the remote machine is a non-SGI machine. With this option,
  151.           _x_f_s_r_e_s_t_o_r_e uses version 1 rmt protocol for all remote tape drives.
  152.           This option cannot be used without specifying a blocksize to be used
  153.           (see ----bbbb option above). If all rmt sources are SGI machines, it is
  154.           preferable nnnnooootttt to specify this option.
  155.  
  156.      ----nnnn _f_i_l_e
  157.           Allows _x_f_s_r_e_s_t_o_r_e to restore only files newer than _f_i_l_e.  The
  158.           modification time of _f_i_l_e (i.e., as displayed with the llllssss ----llll
  159.           command) is compared to the inode modification time of each file on
  160.           the source media (i.e., as displayed with the llllssss ----llllcccc command).  A
  161.           file is restored from media only if its inode modification time is
  162.           greater than or equal to the modification time of _f_i_l_e.
  163.  
  164.      ----oooo   Restore file and directory owner/group even if not root.  When run
  165.           with an effective user id of root, _x_f_s_r_e_s_t_o_r_e restores owner and
  166.           group of each file and directory.  When run with any other effective
  167.           user id it does not, unless this option is specified.
  168.  
  169.      ----pppp _r_e_p_o_r_t__i_n_t_e_r_v_a_l
  170.           Causes progress reports to be printed at intervals of
  171.           _r_e_p_o_r_t__i_n_t_e_r_v_a_l seconds.  The interval value is approximate,
  172.           _x_f_s_r_e_s_t_o_r_e will delay progress reports to avoid undue processing
  173.           overhead.
  174.  
  175.      ----rrrr   Selects the cumulative mode of operation.
  176.  
  177.      ----ssss _s_u_b_t_r_e_e
  178.           Specifies a subtree to restore.  Any number of ----ssss options are
  179.           allowed.  The restore is constrained to the union of all subtrees
  180.           specified.  Each subtree is specified as a pathname relative to the
  181.           restore _d_e_s_t_i_n_a_t_i_o_n.  If a directory is specified, the directory and
  182.           all files beneath that directory are restored.
  183.  
  184.      ----tttt   Displays the contents of the dump, but does not create or modify any
  185.           files or directories.  It may be desirable to set the verbosity
  186.           level to ssssiiiilllleeeennnntttt when using this option.
  187.  
  188.      ----vvvv _v_e_r_b_o_s_i_t_y__l_e_v_e_l
  189.           Specifies the level of detail of the messages displayed during the
  190.           course of the restore.  The argument can be ssssiiiilllleeeennnntttt, vvvveeeerrrrbbbboooosssseeee, or
  191.           ttttrrrraaaacccceeee.  The default is vvvveeeerrrrbbbboooosssseeee.
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))                                                  xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))
  203.  
  204.  
  205.  
  206.      ----AAAA   Do not restore extended file attributes.  If this option is not
  207.           specified, extended file attributes are restored.  Note that dumping
  208.           of extended file attributes is also optional.
  209.  
  210.      ----DDDD   Restore DMAPI (Data Management Application Programming Interface)
  211.           event settings.  _x_f_s_d_u_m_p backs backs up these settings, but it is
  212.           usually not desirable to restore them.
  213.  
  214.      ----EEEE   Prevents _x_f_s_r_e_s_t_o_r_e from overwriting newer versions of files.  The
  215.           inode modification time of the on-media file is compared to the
  216.           inode modification time of corresponding file in the _d_e_s_t_i_n_a_t_i_o_n
  217.           directory.  The file is restored only if the on-media version is
  218.           newer than the version in the _d_e_s_t_i_n_a_t_i_o_n directory.  The inode
  219.           modification time of a file can be displayed with the llllssss ----llllcccc
  220.           command.
  221.  
  222.      ----FFFF   Inhibit interactive operator prompts.  This option inhibits
  223.           _x_f_s_r_e_s_t_o_r_e from prompting the operator for verification of the
  224.           selected dump as the restore target and from prompting for any media
  225.           change.
  226.  
  227.      ----IIII   Causes the _x_f_s_d_u_m_p inventory to be displayed (no restore is
  228.           performed).  Each time _x_f_s_d_u_m_p is used, an online inventory in
  229.           /_v_a_r/_x_f_s_d_u_m_p/_i_n_v_e_n_t_o_r_y is updated.  This is used to determine the
  230.           base for incremental dumps.  It is also useful for manually
  231.           identifying a dump session to be restored (see the ----LLLL and ----SSSS
  232.           options).  Suboptions to filter the inventory display are described
  233.           later.
  234.  
  235.      ----JJJJ   Inhibits inventory update when on-media session inventory
  236.           encountered during restore.  _x_f_s_r_e_s_t_o_r_e opportunistically updates
  237.           the online inventory when it encounters an on-media session
  238.           inventory, but only if run with an effective user id of root and
  239.           only if this option is not given.
  240.  
  241.      ----LLLL _s_e_s_s_i_o_n__l_a_b_e_l
  242.           Specifies the label of the dump session to be restored.  The source
  243.           media is searched for this label.  It is any arbitrary string up to
  244.           255 characters long.  The label of the desired dump session can be
  245.           copied from the inventory display produced by the ----IIII option.
  246.  
  247.      ----OOOO _o_p_t_i_o_n_s__f_i_l_e
  248.           Insert the options contained in _o_p_t_i_o_n_s__f_i_l_e into the beginning of
  249.           the command line.  The options are specified just as they would
  250.           appear if typed into the command line.  In addition, newline
  251.           characters (\n) can be used as whitespace.  The options are placed
  252.           before all options actually given on the command line, just after
  253.           the command name.  Only one ----OOOO option can be used.  Recursive use is
  254.           ignored.  The destination directory cannot be specified in
  255.           _o_p_t_i_o_n_s__f_i_l_e.
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))                                                  xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))
  269.  
  270.  
  271.  
  272.      ----QQQQ   Force completion of an interrupted restore session.  This option is
  273.           required to work around one specific pathological scenario.  When
  274.           restoring a dump session which was interrupted due to an EOM
  275.           condition and no online session inventory is available, _x_f_s_r_e_s_t_o_r_e
  276.           cannot know when the restore of that dump session is complete.  The
  277.           operator is forced to interrupt the restore session.  In that case,
  278.           if the operator tries to subsequently apply a resumed dump (using
  279.           the ----rrrr option), _x_f_s_r_e_s_t_o_r_e refuses to do so.  The operator must tell
  280.           _x_f_s_r_e_s_t_o_r_e to consider the base restore complete by using this
  281.           option when applying the resumed dump.
  282.  
  283.      ----RRRR   Resume a previously interrupted restore.  _x_f_s_r_e_s_t_o_r_e can be
  284.           interrupted at any time by pressing the terminal interrupt character
  285.           (see _s_t_t_y(1)).  Use this option to resume the restore.  The ----aaaa and
  286.           _d_e_s_t_i_n_a_t_i_o_n options must be the same.
  287.  
  288.      ----SSSS _s_e_s_s_i_o_n__i_d
  289.           Specifies the session UUID of the dump session to be restored.  The
  290.           source media is searched for this UUID.  The UUID of the desired
  291.           dump session can be copied from the inventory display produced by
  292.           the ----IIII option.
  293.  
  294.      ----TTTT   Inhibits interactive dialogue timeouts.  _x_f_s_r_e_s_t_o_r_e prompts the
  295.           operator for media changes.  This dialogue normally times out if no
  296.           response is supplied.  This option prevents the timeout.
  297.  
  298.      ----XXXX _s_u_b_t_r_e_e
  299.           Specifies a subtree to exclude.  This is the converse of the ----ssss
  300.           option.  Any number of ----XXXX options are allowed.  Each subtree is
  301.           specified as a pathname relative to the restore _d_e_s_t_i_n_a_t_i_o_n.  If a
  302.           directory is specified, the directory and all files beneath that
  303.           directory are excluded.
  304.  
  305.      ----YYYY _i_o__r_i_n_g__l_e_n_g_t_h
  306.           Specify I/O buffer ring length.  _x_f_s_r_e_s_t_o_r_e uses a ring of input
  307.           buffers to achieve maximum throughput when restoring from tape
  308.           drives.  The default ring length is 3.
  309.  
  310.      ----    A lone ---- causes the standard input to be read as the source of the
  311.           dump to be restored.  Standard input can be a pipe from another
  312.           utility (such as _x_f_s_d_u_m_p(1M)) or a redirected file.  This option
  313.           cannot be used with the ----ffff option.  The ---- must follow all other
  314.           options, and precede the _d_e_s_t_i_n_a_t_i_o_n specification.
  315.  
  316.      The dumped filesystem is restored into the _d_e_s_t_i_n_a_t_i_o_n directory.  There
  317.      is no default; the _d_e_s_t_i_n_a_t_i_o_n must be specified.
  318.  
  319. NNNNOOOOTTTTEEEESSSS
  320.    CCCCuuuummmmuuuullllaaaattttiiiivvvveeee RRRReeeessssttttoooorrrraaaattttiiiioooonnnn
  321.      A base (level 0) dump and an ordered set of delta dumps can be
  322.      sequentially restored, each on top of the previous, to reproduce the
  323.      contents of the original filesystem at the time the last delta was
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))                                                  xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))
  335.  
  336.  
  337.  
  338.      produced.  The operator invokes _x_f_s_r_e_s_t_o_r_e once for each dump.  The ----rrrr
  339.      option must be specified.  The _d_e_s_t_i_n_a_t_i_o_n directory must be the same for
  340.      all invocations.  Each invocation leaves a directory named
  341.      _x_f_s_r_e_s_t_o_r_e_h_o_u_s_e_k_e_e_p_i_n_g in the _d_e_s_t_i_n_a_t_i_o_n directory (however, see the ----aaaa
  342.      option above).  This directory contains the state information that must
  343.      be communicated between invocations.  The operator must remove this
  344.      directory after the last delta has been applied.
  345.  
  346.      _x_f_s_r_e_s_t_o_r_e also generates a directory named _o_r_p_h_a_n_a_g_e in the _d_e_s_t_i_n_a_t_i_o_n
  347.      directory.  _x_f_s_r_e_s_t_o_r_e removes this directory after completing a simple
  348.      restore.  However, if _o_r_p_h_a_n_a_g_e is not empty, it is not removed.  This
  349.      can happen if files present on the dump media are not referenced by any
  350.      of the restored directories.  The _o_r_p_h_a_n_a_g_e has an entry for each such
  351.      file.  The entry name is the file's original inode number, a ".", and the
  352.      file's generation count modulo 4096 (only the lower 12 bits of the
  353.      generation count are used).
  354.  
  355.      _x_f_s_r_e_s_t_o_r_e does not remove the _o_r_p_h_a_n_a_g_e after cumulative restores.  Like
  356.      the _x_f_s_r_e_s_t_o_r_e_h_o_u_s_e_k_e_e_p_i_n_g directory, the operator must remove it after
  357.      applying all delta dumps.
  358.  
  359.    MMMMeeeeddddiiiiaaaa MMMMaaaannnnaaaaggggeeeemmmmeeeennnntttt
  360.      A dump consists of one or more media files contained on one or more media
  361.      objects.  A media file contains all or a portion of the filesystem dump.
  362.      Large filesystems are broken up into multiple media files to minimize the
  363.      impact of media dropouts, and to accommodate media object boundaries
  364.      (end-of-media).
  365.  
  366.      A media object is any storage medium:  a tape cartridge, a remote tape
  367.      device (see _r_m_t(1M)), a regular file, or the standard input (currently
  368.      other removable media drives are not supported).  Tape cartridges can
  369.      contain multiple media files, which are typically separated by (in tape
  370.      parlance) file marks.  If a dump spans multiple media objects, the
  371.      restore must begin with the media object containing the first media file
  372.      dumped.  The operator is prompted when the next media object is needed.
  373.  
  374.      Media objects can contain more than one dump.  The operator can select
  375.      the desired dump by specifying the dump label (----LLLL option), or by
  376.      specifying the dump UUID (----SSSS option).  If neither is specified,
  377.      _x_f_s_r_e_s_t_o_r_e scans the entire media object, prompting the operator as each
  378.      dump session is encountered.
  379.  
  380.      The inventory display (----IIII option) is useful for identifying the media
  381.      objects required.  It is also useful for identifying a dump session.  The
  382.      session UUID can be copied from the inventory display to the ----SSSS option
  383.      argument to unambiguously identify a dump session to be restored.
  384.  
  385.      Dumps placed in regular files or the standard output do not span multiple
  386.      media objects, nor do they contain multiple dumps.
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.                                                                         PPPPaaaaggggeeee 6666
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))                                                  xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))
  401.  
  402.  
  403.  
  404.    IIIInnnnvvvveeeennnnttttoooorrrryyyy
  405.      Each dump session updates an inventory database in
  406.      /_v_a_r/_x_f_s_d_u_m_p/_i_n_v_e_n_t_o_r_y.  This database can be displayed by invoking
  407.      _x_f_s_r_e_s_t_o_r_e with the ----IIII option.  The display uses tabbed indentation to
  408.      present the inventory hierarchically.  The first level is filesystem.
  409.      The second level is session.  The third level is media stream (currently
  410.      only one stream is supported).  The fourth level lists the media files
  411.      sequentially composing the stream.
  412.  
  413.      The following suboptions are available to filter the display.
  414.  
  415.      ----IIII ddddeeeepppptttthhhh====_n
  416.           (where _n is 1, 2, or 3) limits the hierarchical depth of the
  417.           display. When _n is 1, only the filesystem information from the
  418.           inventory is displayed. When _n is 2, only filesystem and session
  419.           information are displayed. When _n is 3, only filesystem, session and
  420.           stream information are displayed.
  421.  
  422.      ----IIII lllleeeevvvveeeellll====_n
  423.           (where _n is the dump level) limits the display to dumps of that
  424.           particular dump level.
  425.  
  426.      The display may be restricted to media files contained in a specific
  427.      media object.
  428.  
  429.      ----IIII mmmmoooobbbbjjjjiiiidddd====_v_a_l_u_e
  430.           (where _v_a_l_u_e is a media ID) specifies the media object by its media
  431.           ID.
  432.  
  433.      ----IIII mmmmoooobbbbjjjjllllaaaabbbbeeeellll====_v_a_l_u_e
  434.           (where _v_a_l_u_e is a media label) specifies the media object by its
  435.           media label.
  436.  
  437.      Similarly, the display can be restricted to a specific filesystem.
  438.  
  439.      ----IIII mmmmnnnntttt====_h_o_s_t-_q_u_a_l_i_f_i_e_d__m_o_u_n_t__p_o_i_n_t__p_a_t_h_n_a_m_e
  440.           (that is, hostname:pathname), identifies the filesystem by
  441.           mountpoint.
  442.  
  443.      ----IIII ffffssssiiiidddd====_f_i_l_e_s_y_s_t_e_m__i_d
  444.           identifies the filesystem by filesystem ID.
  445.  
  446.      ----IIII ddddeeeevvvv====_h_o_s_t-_q_u_a_l_i_f_i_e_d__d_e_v_i_c_e__p_a_t_h_n_a_m_e
  447.           (that is, hostname:device_pathname) identifies the filesystem by
  448.           device.
  449.  
  450.      More than one of these suboptions, separated by commas, may be specified
  451.      at the same time to limit the display of the inventory to those dumps of
  452.      interest.  However, at most four suboptions can be specified at once:
  453.      one to constrain the display hierarchy depth, one to constrain the dump
  454.      level, one to constrain the media object, and one to constrain the
  455.      filesystem.
  456.  
  457.  
  458.  
  459.                                                                         PPPPaaaaggggeeee 7777
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))                                                  xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))
  467.  
  468.  
  469.  
  470.      For example, ----IIII ddddeeeepppptttthhhh====1111,,,,mmmmoooobbbbjjjjllllaaaabbbbeeeellll====""""ttttaaaappppeeee 1111"""",,,,mmmmnnnntttt====hhhhoooosssstttt1111::::////tttteeeesssstttt____mmmmnnnntttt would
  471.      display only the filesystem information (depth=1) for those filesystems
  472.      that were mounted on _h_o_s_t_1:/_t_e_s_t__m_n_t at the time of the dump, and only
  473.      those filesystems dumped to the media object labeled "tape 1".
  474.  
  475.      Dump records may be removed (pruned) from the inventory using the
  476.      _x_f_s_i_n_v_u_t_i_l program.
  477.  
  478.      An additional media file is placed at the end of each dump stream.  This
  479.      media file contains the inventory information for the current dump
  480.      session.  This is currently unused.
  481.  
  482.    MMMMeeeeddddiiiiaaaa EEEErrrrrrrroooorrrrssss
  483.      _x_f_s_d_u_m_p is tolerant of media errors, but cannot do error correction.  If
  484.      a media error occurs in the body of a media file, the filesystem file
  485.      represented at that point is lost.  The bad portion of the media is
  486.      skipped, and the restoration resumes at the next filesystem file after
  487.      the bad portion of the media.
  488.  
  489.      If a media error occurs in the beginning of the media file, the entire
  490.      media file is lost.  For this reason, large dumps are broken into a
  491.      number of reasonably sized media files.  The restore resumes with the
  492.      next media file.
  493.  
  494.    QQQQuuuuoooottttaaaassss
  495.      When _x_f_s_d_u_m_p dumps a filesystem with quotas, it creates a file in the
  496.      root of the dump called _x_f_s_d_u_m_p__q_u_o_t_a_s.  _x_f_s_r_e_s_t_o_r_e can restore this file
  497.      like any other file included in the dump.  This file can be processed by
  498.      the _e_d_q_u_o_t_a(1M) command to reactivate the quotas.  However, the
  499.      _x_f_s_d_u_m_p__q_u_o_t_a_s file contains information which may first require
  500.      modification; specifically the filesystem name and the user ids.  If you
  501.      are restoring the quotas for the same users on the same filesystem from
  502.      which the dump was taken, then no modification will be necessary.
  503.      However, if you are restoring the dump to a different filesystem, you
  504.      will need to:
  505.  
  506.      oooo    ensure the new filesystem is mounted with the qqqquuuuoooottttaaaa option
  507.  
  508.      oooo    modify the _x_f_s_d_u_m_p__q_u_o_t_a_s file to contain the new filesystem name
  509.  
  510.      oooo    ensure the uids in the _x_f_s_d_u_m_p__q_u_o_t_a_s file are correct
  511.  
  512.      Once the quota information has been verified,
  513.  
  514.           /usr/etc/edquota -i xfsdump_quotas
  515.  
  516.      will apply the quota limits to the filesystem.
  517.  
  518.    TTTTrrrruuuusssstttteeeedddd IIIIRRRRIIIIXXXX RRRReeeessssttttrrrriiiiccccttttiiiioooonnnnssss
  519.      In the Trusted IRIX environment, xxxxffffssssrrrreeeessssttttoooorrrreeee can only correctly restore
  520.      files of a multi-level directory from the dump file generated by xxxxffffssssdddduuuummmmpppp
  521.      when xxxxffffssssrrrreeeessssttttoooorrrreeee is run at a moldy process label and with the following
  522.  
  523.  
  524.  
  525.                                                                         PPPPaaaaggggeeee 8888
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))                                                  xxxxffffssssrrrreeeessssttttoooorrrreeee((((1111MMMM))))
  533.  
  534.  
  535.  
  536.      set of capabilities:  CCCCAAAAPPPP____MMMMAAAACCCC____RRRREEEEAAAADDDD , CCCCAAAAPPPP____MMMMAAAACCCC____WWWWRRRRIIIITTTTEEEE , and CCCCAAAAPPPP____DDDDEEEEVVVVIIIICCCCEEEE____MMMMGGGGTTTT....
  537.  
  538. FFFFIIIILLLLEEEESSSS
  539.      /var/xfsdump/inventory   dump inventory database
  540.  
  541. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  542.      edquota(1M), rmt(1M), xfsdump(1M), xfsinvutil(1M), attr_set(2),
  543.      quotas(4).
  544.  
  545. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  546.      The exit code is 0 on normal completion, and non-zero if an error
  547.      occurred or the restore was terminated by the operator.
  548.  
  549. BBBBUUUUGGGGSSSS
  550.      Pathnames of restored non-directory files (relative to the _d_e_s_t_i_n_a_t_i_o_n
  551.      directory) must be 1023 characters (MAXPATHLEN) or less.  Longer
  552.      pathnames are discarded and a warning message displayed.
  553.  
  554.      There is no verify option to _x_f_s_r_e_s_t_o_r_e.  This would allow the operator
  555.      to compare a filesystem dump to an existing filesystem, without actually
  556.      doing a restore.
  557.  
  558.      The interactive commands (----iiii option) do not understand regular
  559.      expressions.
  560.  
  561.      When the minimal rmt option is specified, _x_f_s_r_e_s_t_o_r_e applies it to all
  562.      remote tape sources. The same blocksize (specified by the ----bbbb option) is
  563.      used for all these remote drives.
  564.  
  565.      _x_f_s_r_e_s_t_o_r_e uses the alert program only when a media change is required.
  566.  
  567.      Cumulative mode (----rrrr option) requires that the operator invoke _x_f_s_r_e_s_t_o_r_e
  568.      for the base and for each delta to be applied in sequence to the base.
  569.      It would be better to allow the operator to identify the last delta in
  570.      the sequence of interest, and let _x_f_s_r_e_s_t_o_r_e work backwards from that
  571.      delta to identify and apply the preceding deltas and base dump, all in
  572.      one invocation.
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.                                                                         PPPPaaaaggggeeee 9999
  592.  
  593.  
  594.  
  595.